Hello all,
How do I fix the sort order to show the PR above CR? I looked at other posts and the help and could not find the right option. I could sort it right in the khcomplex group 1 only here.
graph bar, over(rttx1resp, sort(1)) nofill asyvars stack by(khcomplex) blabel(name,position(inside))
How do I fix the sort order to show the PR above CR? I looked at other posts and the help and could not find the right option. I could sort it right in the khcomplex group 1 only here.
graph bar, over(rttx1resp, sort(1)) nofill asyvars stack by(khcomplex) blabel(name,position(inside))
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str8 rttx1resp byte khcomplex "" . "" 1 "" . "NR/SD/PD" 1 "CR" 0 "" 0 "" . "PR" 0 "PR" 0 "PR" 0 "PR" . "" . "PR" . "PR" 0 "" 1 "PR" 0 "" . "" . "" . "CR" 0 "PR" 0 "" 0 "" 0 "CR" 0 "CR" 0 "" 0 "CR" . "" 1 "NR/SD/PD" 1 "NR/SD/PD" 0 "CR" 0 "NR/SD/PD" 0 "CR" 0 "CR" 1 "NR/SD/PD" 1 "" 0 "" . "PR" 0 "PR" 1 "NR/SD/PD" . "PR" 0 "" 1 "NR/SD/PD" 1 "NR/SD/PD" 0 "NR/SD/PD" 0 "PR" 1 "" . "NR/SD/PD" . "" . "NR/SD/PD" 1 "CR" 0 "" 1 "CR" . "PR" 0 "" 0 "" 0 "NR/SD/PD" 1 "NR/SD/PD" . "NR/SD/PD" 0 "" 0 "PR" . "CR" 0 "" 0 "" . "NR/SD/PD" . "PR" 0 "NR/SD/PD" 0 "" 0 "PR" . "" . "CR" 1 "NR/SD/PD" 1 "NR/SD/PD" 0 "CR" 0 "" . "" . "" . "" . "CR" . "NR/SD/PD" 0 "CR" . "CR" . "CR" 0 "NR/SD/PD" 1 "" 0 "NR/SD/PD" 1 "" . "CR" . "" 1 "" . "CR" 0 "" . "" 0 "CR" 0 "" . "NR/SD/PD" . "" . "" 1 "" . "" 1 end

Comment